﻿using System.Runtime.Serialization;

namespace IDataCenterContract
{
    public interface IFunctionLogContract
    {
        void WriteFunctionLog(FunctionLogEntity entity);
    }

    [DataContract]
    public class FunctionLogEntity
    {
        [DataMember]
        public string FunctionName { get; set; }
        [DataMember]
        public string IP { get; set; }
        [DataMember]
        public string MAC { get; set; }
    }
}
